export const DICT = ['device.run.status', 'device.fire'];

export const DATA_INFO = [
  { key: 'name', name: '名称' },
  { key: 'time', name: '时间', func: 'timeSlice' },
];

export const KEYS_EDIT = [
  'id',
  'name',
  'valueRuleList',
  'cardNo',
  // 'systemNo',
  'serialNumber',
  'fire',
  'networkAddr',
  'floorPlanX', 'floorPlanY',
  'brandId', 'productId',
  'brandName', 'productName',
  'installationAddr',
  'buildId', 'floorId', 'areaId',
  'buildName', 'floorName', 'areaName',
];

export const LOCATION = [
  { type: 'build', name: 'name', tail: 'build' },
  { type: 'floor', name: 'floorName', tail: 'floor_plan' },
  { type: 'area', name: 'name', tail: 'area' },
]

export const BRAND = [
  { type: 'brand', name: 'name', tail: 'brand', params: { type: '3' } },
  { type: 'product', name: 'name', tail: 'product' },
]